onyearchange Event |
This event is fired when the year is changed from the calendar display.
Syntax
Inline HTML |
<div cordysType="wcp.libaray.ui.Claendar " id=calendarID onyearchange="handler()" style="position:absolute;display:none;width:150;height:137" > ... </div> |
Event property |
tableID.onyearchange = handler |
Event Information
To invoke |
Click on the year selector control (combo box) on the top of the calendar control displayed and change the year. |
Default Action |
Changes the year to the selection made and initiates any action associated with this event. |
Event Object Properties
Although event handlers in the DHTML Object Model do not receive parameters directly, a handler can query an event object for data.
Property |
Description |
---|---|
month |
Read-only. Integer that denotes the month for the current year. |
year |
Read-only. Integer that denotes the year that is selected. |